OTP\Handler\Forms\WordPressComments A

Total Complexity 60
Dependencies 8
Dependents 0
Total lines 410
Lines of code 227
Logical lines of code 126
Comment lines 125
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
verify_comment_meta_data()
A
47 14 31
startOTPVerificationProcess()
S
56 7 15
extend_comment_edit_metafields()
S
56 6 18
save_comment_meta_data()
S
60 4 12
getFieldHTML()
S
54 3 22
handle_form()
S
53 3 21
get_otp_html_content()
S
56 3 18
add_custom_fields()
S
63 3 10
routeData()
S
64 3 10
get_phone_number_selector()
S
70 3 6
add_scripts_and_additional_fields()
S
65 3 9
handle_form_options()
S
63 2 11
__construct()
S
60 1 13
extend_comment_meta_box()
S
62 1 12
handle_failed_verification()
S
77 1 3
handle_post_verification()
S
82 1 3
unset_otp_session_variables()
S
80 1 3
extend_comment_add_meta_box()
S
66 1 10